﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq;

namespace Budget.DataAccess.Repository
{
	public interface IRepository<T> : IDisposable
	{
		IQueryable<T> Query();
		void Add( T entity );
		void Attach( T entity );
		void Remove( T entity );
		void SubmitChanges();
		//DataContext Context();
	}
}
